﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using FarseerPhysics.Dynamics;
using FarseerPhysics.Factories;
using FarseerPhysics.Common;
using FarseerPhysics.Collision.Shapes;

namespace BHG.System
{
    class GraphicObject : AbstractObject
    {
        public override float Rotation { get; set; }
        public override Vector2 Position { get; set; }

        public GraphicObject(Vector2 position, Model model, float depth)
            : this(position,model,depth,1f)
        {
        }

        public GraphicObject(Vector2 position, Model model, float depth, float scale)
            : this(position,model,depth,scale,0f) 
        {            
        }

        public GraphicObject(Vector2 position, Model model, float depth, float scale, float xRotation)
            : this(position, model, depth, scale,xRotation,0f,0f)
        {

        }

        public GraphicObject(Vector2 position, Model model, float depth, float scale, Vector3 rotations)
            : this(position,model,depth,scale,rotations.X,rotations.Y,rotations.Z)
        {
        }

        public GraphicObject(Vector2 position, Model model, float depth, float scale, float xRotation, float yRotation, float zRotation)
            : base(position, xRotation, model, scale,yRotation,zRotation)
        {
            this.Depth = depth;
            this.Scale = scale;
            this.Rotation = xRotation;
        }
    }
}
